const state = {
  details: {}, // 检查详情
  standard: {},
  standardItem: {},
  trouble: {},
  itemRecordDetail: {},
  safeExamineDetail: {},
};

const getters = {};

const mutations = {
  setCheckDetails(state, data) {
    state.details = data;
  },
  setStandard(state, data) {
    state.standard = data;
  },
  setStandardItem(state, data) {
    state.standardItem = data;
  },
  setTrouble(state, data) {
    state.trouble = data;
  },
  setStandardRecordDetail(state, data) {
    state.itemRecordDetail = data;
  },
  setSafeExamineDetail(state, data) {
    state.safeExamineDetail = data;
  },
};

export default {
  state,
  mutations,
  getters
};
